package com.etc.common;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.io.IOException;
import java.util.HashMap;
import java.util.Properties;

@Configuration
public class UserListConfigration {
    Properties prop;

    @Bean("usermap")
    public Properties loadprop() throws IOException {
        prop = new Properties();
        prop.load(this.getClass().getResourceAsStream("/userlist.properties"));

        return prop;
    }
}
